import { Rule } from "./types";

export const Flake8ErrmsgRuleList: Rule[] = [
    {
        code: "EM101",
        name: "raw-string-in-exception",
        descEn: "Exception must not use a string literal, assign to variable first",
        descCn: "",
        autoFix: false,
    },
    {
        code: "EM102",
        name: "f-string-in-exception",
        descEn: "Exception must not use an f-string literal, assign to variable first",
        descCn: "",
        autoFix: false,
    },
    {
        code: "EM103",
        name: "dot-format-in-exception",
        descEn: "Exception must not use a .format() string directly, assign to variable first",
        descCn: "",
        autoFix: false,
    },
];